package com.ycxy.school.express.web.enums;

import lombok.Getter;

/**
 * 支付方式枚举
 */
@Getter
public enum PaymentTypeEnum{
    /**
     * 支付宝支付
     */
    AliPay(1, "支付宝"),
    /**
     * 微信支付
     */
    WechatPay(2, "微信"),
    /**
     * 线下支付
     */
    OfflinePay(3,"线下");

    private int type;

    private String name;

    PaymentTypeEnum(int type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getValue() {
        return this.type;
    }
}
